import http from 'service/util/http'

export default {
    // 芝麻信用用户授权接口
    zhimaAuth(data) {
        return http.post('/bqs/zhima/auth', data, ['userId', 'realName', 'idCard', 'mobile'])
    },
    // 运营商-登录
    operatorLogin(data) {
        return http.post('/bqs/operator/login', data, ['userId', 'realName', 'idCard', 'mobile', 'pwd', 'smsCode'])
    },
    // 运营商-校验二次鉴权短信验证码
    operatorVerifyauthsms(data) {
        return http.post('/bqs/operator/verifyauthsms', data, ['userId', 'smsCode'])
    },
    // 运营商-重发短信
    operatorSendsms(data) {
        // smsType login-发送登录短信验证码，auth-发送二次鉴权短信验证码
        return http.post('/bqs/operator/sendsms', data, ['userId', 'smsType'])
    }
}